package com.at.dao;

import com.at.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author : code1997
 * @date :2020-09-2020/9/27 19:42
 */
@Repository
public interface UserDao extends JpaRepository<User,Long> {

    User findByUsernameAndPassword(String username,String password);

}
